//Professor.java
package com.xyc.ch5;
class People
{
	public People()
	{
		System.out.println("People");
	}
 }

class Teacher extends People
{
//	public Teacher()
//	{
//		System.out.println("Teacher");
//	}
}

public class Professor extends Teacher
{
//	public Professor()
//	{
//		System.out.println("Professor");
//	}
	public static void main(String[] args)
	{
		Professor p=new Professor();
	}
}

